#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)

#include<stdio.h>

void print_multiplication_tables(int x)
{
	int column = 1;
	int row = 1;
	int change_row = 1;
	for (column = 1; column <= x; column++)
	{
		for (row = change_row; row <= x; row++)
		{
			printf("%d*%d=%d\n", column, row, column * row);
		}
		change_row++;
	}
}